package com.example.demo.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserPageDTO {
    private Integer page;

    private Integer pageSize;

    private String name;

    private String username;
    @JsonFormat(pattern = "yyyy-MM-mm")
    private LocalDate createTime;

}
